package com.ctl.service;

import com.ctl.dto.VideosDTO;
import com.ctl.entity.Video;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author stars
* @description 针对表【video(视频)】的数据库操作Service
* @createDate 2023-02-25 09:50:24
*/
public interface VideoService extends IService<Video> {

    List<VideosDTO> getPageVideoDTO(Integer page, Integer per_page);
    List<VideosDTO> getByCategoryIdAll(Integer page,
                                       Integer per_page,
                                       Integer category);
}
